package com.ruoyi.db.monitor.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 当前在线会话
 *
 * @author ruoyi
 */
@ApiModel("当前在线会话实体类")
@Data
public class SysUserOnline implements Serializable
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("会话编号")
    private String tokenId;

    @ApiModelProperty("部门名称")
    private String deptName;

    @ApiModelProperty("用户名称")
    private String userName;

    @ApiModelProperty("登录IP地址")
    private String ipaddr;

    @ApiModelProperty("登录地址")
    private String loginLocation;

    @ApiModelProperty("浏览器类型")
    private String browser;

    @ApiModelProperty("操作系统")
    private String os;

    @ApiModelProperty("登录时间")
    private Long loginTime;
}
